home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / NDK / NDK_3.5 / Include / include_h / pragmas / dtclass_pragmas.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-20  |  1.1 KB  |  44 lines

  1. #ifndef PRAGMAS_DTCLASS_PRAGMAS_H
  2. #define PRAGMAS_DTCLASS_PRAGMAS_H
  3.  
  4. /*
  5. **    $VER: dtclass_pragmas.h 44.1 (25.1.1993)
  6. **    Includes Release 44.1
  7. **
  8. **    Direct ROM interface (pragma) definitions.
  9. **
  10. **    Copyright © 1999 Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #if defined(LATTICE) || defined(__SASC) || defined(_DCC)
  15. #ifndef __CLIB_PRAGMA_LIBCALL
  16. #define __CLIB_PRAGMA_LIBCALL
  17. #endif /* __CLIB_PRAGMA_LIBCALL */
  18. #else /* __MAXON__, __STORM__ or AZTEC_C */
  19. #ifndef __CLIB_PRAGMA_AMICALL
  20. #define __CLIB_PRAGMA_AMICALL
  21. #endif /* __CLIB_PRAGMA_AMICALL */
  22. #endif /* */
  23.  
  24. #if defined(__SASC) || defined(__STORM__)
  25. #ifndef __CLIB_PRAGMA_TAGCALL
  26. #define __CLIB_PRAGMA_TAGCALL
  27. #endif /* __CLIB_PRAGMA_TAGCALL */
  28. #endif /* __MAXON__, __STORM__ or AZTEC_C */
  29.  
  30. #ifndef CLIB_DTCLASS_PROTOS_H
  31. #include <clib/dtclass_protos.h>
  32. #endif /* CLIB_DTCLASS_PROTOS_H */
  33.  
  34. /*--- functions in V39 or higher (Release 3) ---*/
  35.  
  36. #ifdef __CLIB_PRAGMA_LIBCALL
  37.  #pragma libcall DTClassBase ObtainEngine 1e 00
  38. #endif /* __CLIB_PRAGMA_LIBCALL */
  39. #ifdef __CLIB_PRAGMA_AMICALL
  40.  #pragma amicall(DTClassBase, 0x1e, ObtainEngine())
  41. #endif /* __CLIB_PRAGMA_AMICALL */
  42.  
  43. #endif /* PRAGMAS_DTCLASS_PRAGMAS_H */
  44.